package agentspeakeditor.editors.common.AST.Line;

import agentspeakeditor.editors.common.AST.Expression.LogicExpr;
import agentspeakeditor.editors.common.checker.SemanticException;
import agentspeakeditor.editors.common.checker.Visitor;

public class LogicContext extends Context{
	
	private LogicExpr expr;
	
	public LogicExpr getExpr() {
		return expr;
	}

	public void setExpr(LogicExpr expr) {
		this.expr = expr;
	}

	public LogicContext(LogicExpr expr){
		this.expr = expr;
	}
	
	@Override
	public Object visit(Visitor v, Object arg) throws SemanticException {
		return v.visitLogicContext(this, arg);
	}

	@Override
	public String toString(int level) {
		// TODO Auto-generated method stub
		return null;
	}

}
